package com.devchronicles.websockets;
@ServerEndpoint("/hello")
public class HelloEndpoint {
@OnMessage
public void onMessage(Session session, String msg) {
try {
session.getBasicRemote().sendText("Cze, " + msg);
} catch (IOException e) { }
}
}